package com.dcloud.streamweb.log.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: job_run_log
 * @Author: jeecg-boot
 * @Date:   2024-07-25
 * @Version: V1.0
 */
@Data
@TableName("job_run_log")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="job_run_log对象", description="job_run_log")
public class JobRunLog implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Long id;
	/**jobConfigId*/
	@Excel(name = "jobConfigId", width = 15)
    @ApiModelProperty(value = "jobConfigId")
    private Long jobConfigId;
	/**任务名称*/
	@Excel(name = "任务名称", width = 15)
    @ApiModelProperty(value = "任务名称")
    private String jobName;
	/**任务描述*/
	@Excel(name = "任务描述", width = 15)
    @ApiModelProperty(value = "任务描述")
    private String jobDesc;
	/**提交模式: standalone 、yarn 、yarn-session */
	@Excel(name = "提交模式: standalone 、yarn 、yarn-session ", width = 15)
    @ApiModelProperty(value = "提交模式: standalone 、yarn 、yarn-session ")
    private String deployMode;
	/**运行后的任务id*/
	@Excel(name = "运行后的任务id", width = 15)
    @ApiModelProperty(value = "运行后的任务id")
    private String jobId;
	/**启动时本地日志*/
	@Excel(name = "启动时本地日志", width = 15)
    @ApiModelProperty(value = "启动时本地日志")
    private String localLog;
	/**任务运行所在的机器*/
	@Excel(name = "任务运行所在的机器", width = 15)
    @ApiModelProperty(value = "任务运行所在的机器")
    private String runIp;
	/**远程日志url的地址*/
	@Excel(name = "远程日志url的地址", width = 15)
    @ApiModelProperty(value = "远程日志url的地址")
    private String remoteLogUrl;
	/**启动时间*/
	@Excel(name = "启动时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "启动时间")
    private Date startTime;
	/**启动时间*/
	@Excel(name = "启动时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "启动时间")
    private Date endTime;
	/**任务状态*/
	@Excel(name = "任务状态", width = 15)
    @ApiModelProperty(value = "任务状态")
    private String jobStatus;
	/**isDeleted*/
	@Excel(name = "isDeleted", width = 15)
    @ApiModelProperty(value = "isDeleted")
    private Integer isDeleted;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date editTime;
	/**creator*/
	@Excel(name = "creator", width = 15)
    @ApiModelProperty(value = "creator")
    private String creator;
	/**editor*/
	@Excel(name = "editor", width = 15)
    @ApiModelProperty(value = "editor")
    private String editor;
}
